package org.grow.dealBill.service;

import org.apache.dubbo.config.annotation.DubboReference;
import org.grow.common.deal.DealBillDto;
import org.grow.common.deal.DealService;
import org.springframework.stereotype.Service;

/**
 * @Author: xwg
 * @CreateDate: 21-8-16
 */
@Service
public class DealBillService {

    @DubboReference
    private DealService dealService;

    public Boolean tx(DealBillDto dealBillDto){
        System.out.println("=====service===dubbo===远程调用");
        Boolean deal = dealService.deal(dealBillDto);
        return deal;
    }
}
